package com.kxz.pojo;
//ResultMessage（封装服务器的消息）
public class ResultMessage {    //服务器发送给浏览器的websocket数据
    private boolean isSystem;   //标志是否是系统消息
    private String fromName;     //发送者
    private Object message;     //如果是系统消息是数组

    public boolean isSystem() {
        return isSystem;
    }

    public void setSystem(boolean system) {
        isSystem = system;
    }

    public String getFromName() {
        return fromName;
    }

    public void setFromName(String fromName) {
        this.fromName = fromName;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }
}
